﻿using NBitcoin.Logging;
using System;
using System.Collections.Generic;
using WebApiV3.Domain.Enum;

namespace WebApiV3.Interface.Log
{
    public interface ILog
    {
        Logs GetLogById(int id);
        void Insert(Logs log);
        void Delete(Logs log);
        
        // 根据时间查询
        IEnumerable<Logs> MultiQuery(DateTime beginTime, DateTime endTime, LogsLevel logsLevel, int usersId = 0);

       
        // 清除日志
       
        void Clear();
    }
}
